package com.xci.platform.core;

/**
 * 系统常量
 */
public class Constant {
    /**
     * 默认日期时间格式字符串
     */
    public static final String DefaultDateTimePattern = "yyyy-MM-dd HH:mm:ss";

    /**
     * 默认日期格式字符串
     */
    public static final String DefaultDatePattern = "yyyy-MM-dd";

    /**
     * 新建记录标记
     */
    public static final String CreateMark = "_create_";

    /**
     * 登录Session键
     */
    public static final String UserSessionKey = "_user_session_key_";

    /**
     * 登录Session键
     */
    public static final String UserCookieKey = "_user_cookie_key_";

    /**
     * Api Token键
     */
    public static final String ApiTokenKey = "_api_token_key_";

    /**
     * UTF-8编码
     */
    public static final String UTF8 = "UTF-8";

    /**
     * 根节点Id
     */
    public static final String RootNodeId = "0";

    /**
     * 单个路径长度
     */
    public static final Integer PathLength = 4;

    /**
     * 空字符串
     */
    public static final String Empty = "";
}
